package com.shop.cereshop.business.dao.tool;

import com.shop.cereshop.business.page.operate.OperateCoupon;
import com.shop.cereshop.commons.domain.tool.CereShopOperateDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereShopOperateDetailDAO {
    int insert(CereShopOperateDetail record);

    int insertSelective(CereShopOperateDetail record);

    void insertBatch(@Param("list") List<CereShopOperateDetail> list);

    List<OperateCoupon> findCoupons(@Param("shopOperateId") Long shopOperateId);
}